package tcln.gxtx.client.widget.form;


/**
 * Convenient interface to mark a field that it can receive focus.
 * 
 * @author Truong Chau Lien Ngoc (lienngoc@gmail.com)
 */
public interface FocusableField {

    /**
     * Moves focus to this field.
     */
    void focus();

    /**
     * Checks if this field is currently holds the focus.
     * 
     * @return
     */
    boolean hasFocus();
}
